<template>
  <div class="home">
    <header>
      <Header></Header>
    </header>
    <tab-bar></tab-bar>
    <main>
      <router-view></router-view>
    </main>
  </div>
</template>

<script>
import TabBar from "../components/TabBar";
import Header from "../components/Header";
export default {
  name: "home",
  data:function(){
    return {
    }
  },
  components: {
    Header,
    TabBar,
  },
  
  methods:{

  }
};
</script>

<style lang="scss" scoped>
.home{
  width:100%;
  height:100%;
  header{
    flex:0;
    height: 0.4rem;
    flex-basis: auto;
    z-index:600;
  }
  main{
    flex:1;
    flex-basis:auto;
    min-height:0;
    z-index:1;
  }
}

</style>
